<%--
  Created by IntelliJ IDEA.
  User: adelaide
  Date: 2021/10/26
  Time: 12:26
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<!DOCTYPE html>
<html>
<head>
    <meta charset="UTF-8">
    <title>编辑商品分类</title>
    <link type="text/css" rel="stylesheet" href="fontsawesome/css/font-awesome.css"/>
    <link type="text/css" rel="stylesheet" href="css/style.css"/>
</head>
<body>
<div class="main_box">
    <div class="cont_box" style="margin-top:20px;">
        <form action="${pageContext.request.contextPath}/updateCateGory" method="post" id="add_cyform">
            <ul class="addpro_box">
                <li>
                    <label>商品分类名称：</label>
                    <input type="hidden" name="cid" value="${category.cid}" />
                    <input type="text" placeholder="请输入商品分类名称" name="cname" value="${category.cname}" required data-rule-proname="true" data-msg-required="商品分类名称不能为空" data-msg-proname="请输入正确的商品分类名称"/>
                </li>
            </ul>
            <div class="probtn_box clearfix">
                <input type="submit" value="确定" class="btn blue_btn"/>
            </div>
        </form>
    </div>
</div>
<!--javascript include-->
<script src="js/jquery-2.2.1.min.js"></script>
<script src="js/jquery.dataTables.min.js"></script>
<script src="js/bootstrap-datepicker.js"></script>
<script src="js/jquery.validate.min.js"></script>
<script src="js/jquery.form.min.js"></script>
<script src="js/other.js"></script>
<%--<script>--%>
<%--    $(function(){--%>
<%--        $("body").other({formId:"#add_cyform",formUrl:"#"});//formUrl 表单请求地址--%>
<%--    });--%>
<%--</script>--%>
</body>
</html>

